Skip to content

fix(deps): patch ws (HIGH) and python aiohttp/idna advisories - #161

Merged
FJ-Riveros merged 1 commit into
mainfrom
security/dependabot-deps-2026-07
Jul 8, 2026
Merged

fix(deps): patch ws (HIGH) and python aiohttp/idna advisories#161
FJ-Riveros merged 1 commit into
mainfrom
security/dependabot-deps-2026-07

Conversation

@FJ-Riveros

Copy link
Copy Markdown
Contributor

What

Patch the ws HIGH advisory (npm) and aiohttp/idna advisories (python) in ethena_sats_adapters.

Why

Open Dependabot alerts:

Test plan

  • pnpm install --lockfile-only regenerated; pnpm-lock.yaml now resolves ws to 7.5.11 and 8.21.0 only — no vulnerable ws remains.
  • uv lock regenerated; aiohttp 3.14.1, idna 3.18.
  • ws pinned via pnpm-workspace.yaml overrides (pnpm v11 no longer reads package.json#pnpm), mirroring the existing two-major brace-expansion override style. uuid (CVE-2026-41907) is already pinned 11.1.0 -> 11.1.1 in that file.

Security & Data Impact

Security impact: Removes a HIGH ws advisory (WebSocket lib) from the tree via package-manager override; no application code changed.
Data classification affected: None
Audit log updated: n/a

Deferred

js-yaml CVE-2026-53550 (MEDIUM) — the only fixed version, 3.15.0, was published ~13 h inside the repo's minimumReleaseAge: 14400 (10-day) supply-chain policy, so pnpm refuses to resolve it yet. It becomes installable ~2026-07-07; re-run pnpm install then (or let Dependabot open its own PR once mature). uuid@8.3.2 remains in the tree via legacy build tooling (npmlog/gauge) — a different, API-incompatible major; not force-bumped.

Rollback

No state migration — revert commit is sufficient.

- ws via pnpm-workspace.yaml overrides: >=7.0.0<7.5.11 -> 7.5.11, >=8.0.0<8.21.0 -> 8.21.0
  (CVE-2026-48779 HIGH; also clears CVE-2026-45736 ws<8.20.1)
- python aiohttp>=3.14.1, idna>=3.15 via [tool.uv] override
- uuid 11.1.0->11.1.1 already pinned (unchanged)

js-yaml 3.15.0 (CVE-2026-53550, MEDIUM) deferred: blocked by repo minimumReleaseAge (10d) until ~2026-07-07.
Copilot AI review requested due to automatic review settings July 6, 2026 11:02
@FJ-Riveros
FJ-Riveros requested a review from a team as a code owner July 6, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependency resolution to remediate Dependabot security advisories across the JavaScript (pnpm) and Python (uv) dependency trees.

Changes:

  • Pin ws to non-vulnerable patch versions across both major lines via pnpm overrides and lockfile updates.
  • Bump Python packages in the uv lock to patched versions (aiohttp and idna) and record corresponding overrides in pyproject.toml.
  • Regenerate lockfiles (pnpm-lock.yaml, uv.lock) to reflect the updated resolutions.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
uv.lock Updates resolved Python dependency versions (notably aiohttp and idna) and refreshes uv’s lock metadata.
pyproject.toml Adds/updates tool.uv override constraints for aiohttp and idna to enforce patched versions.
pnpm-workspace.yaml Adds pnpm overrides to force patched ws versions for both v7 and v8 vulnerable ranges.
pnpm-lock.yaml Reflects updated override resolutions to ws@7.5.11 and ws@8.21.0 in the generated lockfile.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-lock.yaml
@FJ-Riveros
FJ-Riveros merged commit ee84094 into main Jul 8, 2026
6 checks passed
@FJ-Riveros
FJ-Riveros deleted the security/dependabot-deps-2026-07 branch July 8, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants